Skip to content

Conversation

@zirain
Copy link
Contributor

@zirain zirain commented Nov 3, 2025

What type of PR is this?

/kind documentation

What this PR does / why we need it:

Which issue(s) this PR fixes:

Fixes #

Does this PR introduce a user-facing change?:

NONE

@k8s-ci-robot k8s-ci-robot added release-note-none Denotes a PR that doesn't merit a release note. kind/documentation Categorizes issue or PR as related to documentation. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Nov 3, 2025
@k8s-ci-robot k8s-ci-robot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Nov 3, 2025
@LiorLieberman
Copy link
Member

/lgtm
/cc @rikatz

@k8s-ci-robot k8s-ci-robot requested a review from rikatz November 3, 2025 04:23
@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Nov 3, 2025
@LiorLieberman
Copy link
Member

/assign @rikatz

[options]: ../references/spec/#gateway.networking.k8s.io/v1alpha3.GatewayTLSConfig
[targetRefs]: ../references/spec/#localpolicytargetreferencewithsectionname
[subjectAltNames]: ../references/spec/#subjectaltname
[options]: ../references/spec/#gatewaytlsconfig
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this link is broken

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this's a map, let's link to backendtlspolicyspec.

Copy link
Member

@rikatz rikatz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

some links are broken, can you please double check?

for instance here is a preview of the changes: https://deploy-preview-4217--kubernetes-sigs-gateway-api.netlify.app/

@k8s-ci-robot k8s-ci-robot removed the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Nov 3, 2025
@zirain
Copy link
Contributor Author

zirain commented Nov 3, 2025

some links are broken, can you please double check?

for instance here is a preview of the changes: https://deploy-preview-4217--kubernetes-sigs-gateway-api.netlify.app/

updated

@zirain zirain requested a review from rikatz November 5, 2025 00:06
[targetRefs]: ../references/spec/#gateway.networking.k8s.io/v1alpha2.PolicyTargetReference
[subjectAltNames]: ../references/spec/#gateway.networking.k8s.io/v1alpha3.BackendTLSPolicyValidation
[options]: ../references/spec/#gateway.networking.k8s.io/v1alpha3.GatewayTLSConfig
[targetRefs]: ../reference/spec/#localpolicytargetreferencewithsectionname
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is still not working. On https://deploy-preview-4217--kubernetes-sigs-gateway-api.netlify.app/api-types/backendtlspolicy/ if you click on TargetRefs it will give you a 404.

Suggested change
[targetRefs]: ../reference/spec/#localpolicytargetreferencewithsectionname
[targetRefs]: ../reference/spec.md#localpolicytargetreferencewithsectionname

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

btw it should be here: https://deploy-preview-4217--kubernetes-sigs-gateway-api.netlify.app/reference/spec/#localpolicytargetreferencewithsectionname

I suggest running a make live-docs on your local computer and testing all of the links :)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your patient, I double checked this page, it should be fine now.

we can add linkinator to help this in the future.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no worries, I appreciate your effort on fixing it!

There is some ongoing effort to do this as a python hook: #3999

It is still probably too soon to try it, but I saw the authors of mkdocs material (which we use) are moving to a new approach as well: https://zensical.org/

Anyway, we can probably use linkinator as a github action (https://github.com/JustinBeckwith/linkinator#github-actions), it would be great if they provided also a docker image so we could add as some part of "make verify" here :) (I am scared of vendoring half of the internet for npx stuff!)

If you want to give it a try, and let us know on some issue later how your experiments with it or even something like https://github.com/lycheeverse/lychee would be great!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tried it locally, but it has almost over 1,000+ broken links. I haven't had enough bandwidth to fix it recently

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no worries, we can do it split on multiple efforts/parts! thanks

[subjectAltNames]: ../references/spec/#gateway.networking.k8s.io/v1alpha3.BackendTLSPolicyValidation
[options]: ../references/spec/#gateway.networking.k8s.io/v1alpha3.GatewayTLSConfig
[targetRefs]: ../reference/spec/#localpolicytargetreferencewithsectionname
[subjectAltNames]: ../reference/spec/#subjectaltname
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this has the same problem as above

[options]: ../references/spec/#gateway.networking.k8s.io/v1alpha3.GatewayTLSConfig
[targetRefs]: ../reference/spec/#localpolicytargetreferencewithsectionname
[subjectAltNames]: ../reference/spec/#subjectaltname
[options]: ../reference/spec/#backendtlspolicyspec
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same

@rikatz
Copy link
Member

rikatz commented Nov 6, 2025

/lgtm
/approve
Thank you!

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Nov 6, 2025
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: rikatz, zirain

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Nov 6, 2025
@k8s-ci-robot k8s-ci-robot merged commit 47c3435 into kubernetes-sigs:main Nov 6, 2025
20 checks passed
@zirain zirain deleted the fix-broken-links branch November 7, 2025 00:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. kind/documentation Categorizes issue or PR as related to documentation. lgtm "Looks good to me", indicates that a PR is ready to be merged. release-note-none Denotes a PR that doesn't merit a release note. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants